package com.tanhua.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author Ling
 * @Title: null.java
 * @Package com.tanhua.common.enums
 * @Description:
 * @date 2021/9/12 15:43
 */
public enum FreezeTypeEnums implements IEnum<Integer> {
    LOGIN_FREEZE(1,"登录"),
    COMMIT_FREEZE(2,"发言"),
    PUBILISH_FREEZE(3,"发布动态"),
    UNFREEE(0,"解除");

    private int value;
    private String desc;

    FreezeTypeEnums(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}
